package com.woniu.model.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("y_goods")
public class YGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "goods_id", type = IdType.AUTO)
    private Integer goodsId;

    @TableField("goods_name")
    private String goodsName;

    @TableField("goods_price")
    private BigDecimal goodsPrice;

    @TableField("goods_num")
    private Integer goodsNum;

    @TableField("goods_frooze")
    private Integer goodsFrooze;

    /**
     * 0.下架1.可购买
     */
    @TableField("goods_state")
    private Integer goodsState;

    /**
     * 商品照片
     */
    @TableField("goods_image")
    private String goodsImage;


}
